/*Author: Seungbeom Ma
 *SJSU 
 * DATE: NOV 16
 * */
package tool.threads;

import android.util.Log;
import tool.math.MathEquations;

public class LocalThread extends Thread {
	String packet;
	private volatile String value;
	MathEquations me = new MathEquations();
	
	public LocalThread(String packet){
		this.packet = packet;
	}
	
	public void run() {
		Log.d("Local Thread", "Local is Running");
        try {
        	value = me.Gaussian_AVG(packet);

        } catch (Exception e) {
            e.printStackTrace();
        }
        Log.d("Local Thread", "Local is Done");
    }
	 public String getValue() {
         return value;
     }
}
